home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / edit / dte5_1.zip / DTE.MAN < prev    next >
Text File  |  1991-02-06  |  7KB  |  265 lines

  1.  
  2.  
  3.  
  4. DTE(1L)               Programmer's Manual                DTE(1L)
  5.  
  6.  
  7.  
  8. NAME
  9.      dte - full screen text editor
  10.  
  11. SYNOPSIS
  12.      dte [ filename ]
  13.  
  14. DESCRIPTION
  15.      dte is a simple full-screen text editor suitable for editing
  16.      program source code. It was designed with goals including:
  17.          1. To perform well over slow serial communication lines;
  18.          2. To imitate the command keys used in WordStar /  Turbo
  19.             Pascal.
  20.  
  21.      It is therefore expected that this editor will  be  particu-
  22.      larly suitable for distance education students, who normally
  23.      use Turbo Pascal (and hence are already  familiar  with  the
  24.      keystrokes  required),  and who also normally have to log in
  25.      via 300/1200/2400 baud modems.
  26.  
  27.      To edit a file called "test.p", use the command:
  28.          dte test.p
  29.      If "test.p" already exists, it will be loaded ready to edit.
  30.      If it does not yet exist, dte will create a new empty file.
  31.  
  32.      If no file is specified, then dte will automatically display
  33.      its  on-line  help  (which  contains most of the information
  34.      included in this manual entry).
  35.  
  36.      In the following commands, ^x is used to represent control-x
  37.      (this  means  holding  down the control key, and then typing
  38.      x).
  39.  
  40.      Cursor Movement Commands:
  41.       ^X  - line down
  42.       ^E  - line up
  43.       ^D  - character right
  44.       ^S  - character left
  45.       ^F  - word right
  46.       ^A  - word left
  47.       ^C  - screen down
  48.       ^R  - screen up
  49.       ^QC - end of file
  50.       ^QR - beginning of file
  51.       ^QX - bottom of screen
  52.       ^QE - top of screen
  53.       ^QD - end of current line
  54.       ^QS - beginning of current line
  55.       ^QI - start of particular line in file (dte will prompt for
  56.             line number)
  57.       ^QB - beginning of marked block
  58.       ^QK - end of marked block
  59.       ^Q0 ... ^Q9 - move to marker 0 ... 9
  60.  
  61.  
  62.  
  63. Printed 2/6/91           dte Version 5.1                        1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DTE(1L)               Programmer's Manual                DTE(1L)
  71.  
  72.  
  73.  
  74.       ^Q[ - match forwards  - works with () {} []  ''  ""  /*  */
  75.             begin  end  [if the cursor is on one of these charac-
  76.             ters, then it will be moved to the matched pair]
  77.       ^Q] - match backwards - works with () {} []  ''  ""  /*  */
  78.             begin end
  79.       ^QF - find text in file [dte will prompt for text  to  find
  80.             and for options - see below]
  81.       ^QP - move to previous position
  82.  
  83.      Screen Scrolling Commands:
  84.       ^Z  - scroll down one line
  85.       ^W  - scroll up one line
  86.       ^C  - scroll down one page
  87.       ^R  - scroll up one page
  88.  
  89.      Search and Replace Commands:
  90.       ^QF - find
  91.       ^QA - replace
  92.       ^L  - repeat last find/replace
  93.  
  94.      Find/Replace Options:
  95.       U   - ignore case
  96.       B   - search backwards
  97.       G   - scan entire file (global)
  98.       L   - scan marked block (local)
  99.       N   - replace without asking
  100.       M   - match original case when replacing
  101.       W   - match entire words only
  102.       <n> - perform find/replace <n> times
  103.  
  104.      Editing Search Strings (and file names):
  105.       ^S  - move cursor left
  106.       ^D  - move cursor right
  107.       ^E  - move to start of string
  108.       ^X  - move to end of string
  109.       ^Y  - delete all of string
  110.       ^R  - restore original string
  111.       ^G  - delete character under cursor
  112.       <BackSpace> - delete character to left of cursor
  113.       printable characters are inserted at the cursor
  114.  
  115.      Block Commands:
  116.       ^KB - mark start of block
  117.       ^KK - mark end of block
  118.       ^KH - hide/unhide block
  119.       ^KC - copy marked block to cursor
  120.       ^KV - move marked block to cursor
  121.       ^KY - delete marked block
  122.       ^KW - write block to file
  123.       ^KR - read in file at cursor
  124.       ^K@ - read in file at cursor, expanding tabs etc
  125.       ^KP - print block or entire file
  126.  
  127.  
  128.  
  129. Printed 2/6/91           dte Version 5.1                        2
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. DTE(1L)               Programmer's Manual                DTE(1L)
  137.  
  138.  
  139.  
  140.       ^KI - indent block by current tab size
  141.       ^KU - unindent block by current tab size
  142.  
  143.      File Commands:
  144.       ^KD - save file, then exit editor
  145.       ^KX - save file only if modified, then exit
  146.       ^KS - save file, continue editing
  147.       ^KT - save file under new name, continue editing
  148.       ^KQ - exit editor without saving
  149.  
  150.      Text Insertion:
  151.       ^N  - insert new line at cursor, leave  cursor  on  current
  152.             line
  153.       <Enter> - insert new line at cursor, cursor moves to  start
  154.                 of new line
  155.       printable characters are (in insert mode) inserted in front
  156.       of the cursor
  157.  
  158.      Text Deletion Commands:
  159.       <BackSpace> - delete character to left of cursor, move cur-
  160.                     sor left
  161.       ^G  - delete character under cursor, do not move cursor
  162.       ^Y  - delete current line
  163.       ^QY - delete from cursor to end of line
  164.       ^T  - delete from cursor to end of word
  165.       ^KY - delete marked block
  166.  
  167.      Change Editing Modes:
  168.       ^V  - insert character in front of cursor / overwrite char-
  169.             acter at cursor
  170.       ^OI - indent new line to match previous / start new line at
  171.             column 0
  172.       ^OU - <BackSpace> matches  earlier  indentation  /  deletes
  173.             just one character
  174.  
  175.      Window Commands:
  176.       ^OK - change to another window,  or  create  a  new  window
  177.             below  cursor  [the new window will start on the line
  178.             immediately below the cursor, and  continue  down  to
  179.             the bottom line in the current window.]
  180.       ^OM - change the size of the  current  window  [the  cursor
  181.             line will become the new boundary between the current
  182.             window and the one below (or  above  if  the  current
  183.             window is the bottom window)]
  184.  
  185.      Miscellaneous Commands:
  186.       ^U or <ESC> - abort current command
  187.       ^J  - obtain on-screen help
  188.       ^QL - restore current line
  189.       ^K0 ... ^K9 - set position marker 0 ... 9
  190.       ^\  - redraw entire display (useful if screen gets garbled)
  191.       ^OT - set tab stop interval
  192.  
  193.  
  194.  
  195. Printed 2/6/91           dte Version 5.1                        3
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. DTE(1L)               Programmer's Manual                DTE(1L)
  203.  
  204.  
  205.  
  206.       ^KF - shell out to operating system
  207.  
  208. AUTHOR
  209.      Douglas Thomson, Monash University College Gippsland.
  210.  
  211. BUG REPORTS TO
  212.      Douglas Thomson    doug@giaea.oz
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261. Printed 2/6/91           dte Version 5.1                        4
  262.  
  263.  
  264.  
  265.